<div class="clearfix">
    <div class="col-sm-12">
        <ul class="ul_flex clearfix" style="background:#f7f7f7;border-radius: 6px;padding: 10px 0 0 20px;">
            <li>
                <p>
                    <span>预约回访人</span>
                    <input type="text" id="reservations"  class="input_style" value="${reservations}">
                </p>
                <p>
                    <span>预约回访时间</span>
                    <input type="text" id="appointmentTime" class="input_style" value="${consultantInfo.appointmentTime}"
                           onclick="laydate({istiem:true,format:'YYYY-MM-DD hh:mm:ss'})">
                </p>
            </li>
            <li>
                <p>
                    <span>跟踪状态</span>
                    <select id="followStatus" name="followStatus" class="input_style">
                        <option value="">请选择</option>
                        <option value="跟踪中">跟踪中</option>
                        <option value="跟踪完成">跟踪完成</option>
                        <option value="跟踪结束">跟踪结束</option>
                    </select>
                </p>
                <p>
                    <span>消费状态</span>
                    <select id="consumptionStatus" name="consumptionStatus" class="input_style">
                        <option value="">请选择</option>
                        <option value="未消费">未消费</option>
                        <option value="只交定金">只交定金</option>
                        <option value="未完成">未完成</option>
                        <option value="完成">完成</option>
                    </select>
                </p>
            </li>
            <li>
                <p>
                    <span>消费项目</span>
                    <select id="expenditureProject" name="expenditureProject" class="input_style">
                    </select>
                </p>
            </li>
        </ul>
    </div>

    <div class="col-sm-12">
        <h3>添加TC看诊</h3>
        <textarea name="diagnosisContent" id="diagnosisContent" class="textareaBox" style="height: 200px;"></textarea>
    </div>

    <div class="col-sm-12">
        <h3>看诊详情</h3>
        <div class="textareaBox" style="line-height: 20px;padding: 20px 0 40px;">
            <#sortDiagnosisDetails  id="sortDiagnosisDetails" list="${consultantInfoList}"/>
        </div>
    </div>

    <div class="col-sm-12">
        <div class="btnBox">
            <div style="float: right;margin:20px 2% 0 0;">
                <button type="button" class="btn" onclick="ConsultantInfoDlg.addIsRevisits()">确定</button>
                <button type="button" style="background:#da6792;" class="btn" onclick="IsDealInfoDlg.close()">取消</button>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript">
    //初始化下拉消费项目
    $.post(Feng.ctxPath + "/payService/getList", function (data) {
        var txt = '<option value="">--请选择消费项目--</option>';
        for (var i = 0; i < data.length; i++) {
            txt += '<option value="' + data[i].department + '">' + data[i].department + '</option>';
        }
        document.getElementById('expenditureProject').innerHTML = txt;
        //状态单选
        var seletepayservicename = $('#payservicenameValue').val();
        if (seletepayservicename != "") {
            $("#expenditureProject option[value=" + seletepayservicename + "]").attr("selected", "selected");
        }
    }, "json");
</script>